#ifndef _COLOR_DIALOG_H
#define _COLOR_DIALOG_H

#include <QDialog>
#include <QPushButton>
#include <QFrame>
#include <QGridLayout>
#include <QColorDialog>
#include <QColor>
class ColorDialog : public QDialog	{
    Q_OBJECT
public:
    ColorDialog(QWidget *parent = nullptr);
    ~ColorDialog();
    QGridLayout * mainLayout;

    void setLabelColor();
private:
    QPushButton *whiteButton; //白
    QPushButton *blackButton; //黑
    QPushButton *blueButton;  //蓝
    QPushButton *redButton;   //红
    QFrame * frame;

private slots:
    void start_white();
    void start_black();
    void start_blue();
    void start_red();
};
#endif